<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.1">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"yoursite.com","root":"/","scheme":"Gemini","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"flat"},"back2top":{"enable":true,"sidebar":true,"scrollpercent":true},"bookmark":{"enable":true,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="第一篇、树莓派基本配置树莓派能用来做啥？ | 树莓派实验室https:&#x2F;&#x2F;shumeipai.nxez.com&#x2F;what-raspi-used-forra (15条消息)树莓派 raspberry 4B系统 VNC View 连接 Cannot currently show the desktop 错误解决_操作系统_hu5566798的博客-CSDN博客https:&#x2F;&#x2F;blog.csdn.net">
<meta property="og:type" content="article">
<meta property="og:title" content="日常生活&#x2F;树莓派&#x2F;树莓派">
<meta property="og:url" content="http://yoursite.com/2020/05/23/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB/%E6%A0%91%E8%8E%93%E6%B4%BE/%E6%A0%91%E8%8E%93%E6%B4%BE/index.html">
<meta property="og:site_name" content="heweiliang blog">
<meta property="og:description" content="第一篇、树莓派基本配置树莓派能用来做啥？ | 树莓派实验室https:&#x2F;&#x2F;shumeipai.nxez.com&#x2F;what-raspi-used-forra (15条消息)树莓派 raspberry 4B系统 VNC View 连接 Cannot currently show the desktop 错误解决_操作系统_hu5566798的博客-CSDN博客https:&#x2F;&#x2F;blog.csdn.net">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-05-23T06:58:06.032Z">
<meta property="article:modified_time" content="2020-06-26T07:26:08.929Z">
<meta property="article:author" content="heweiliang">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://yoursite.com/2020/05/23/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB/%E6%A0%91%E8%8E%93%E6%B4%BE/%E6%A0%91%E8%8E%93%E6%B4%BE/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>日常生活/树莓派/树莓派 | heweiliang blog</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

<link rel="alternate" href="/atom.xml" title="heweiliang blog" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">heweiliang blog</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/about/" rel="section"><i class="fa fa-fw fa-user"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
        <li class="menu-item menu-item-schedule">

    <a href="/schedule/" rel="section"><i class="fa fa-fw fa-calendar"></i>日程表</a>

  </li>
        <li class="menu-item menu-item-sitemap">

    <a href="/sitemap.xml" rel="section"><i class="fa fa-fw fa-sitemap"></i>站点地图</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="reading-progress-bar"></div>
  <a role="button" class="book-mark-link book-mark-link-fixed"></a>

  <a href="https://github.com/yourname" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/05/23/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB/%E6%A0%91%E8%8E%93%E6%B4%BE/%E6%A0%91%E8%8E%93%E6%B4%BE/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.jpg">
      <meta itemprop="name" content="heweiliang">
      <meta itemprop="description" content="heweiliang blog">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="heweiliang blog">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          日常生活/树莓派/树莓派<a href="https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name_posts/%E6%97%A5%E5%B8%B8%E7%94%9F%E6%B4%BB/%E6%A0%91%E8%8E%93%E6%B4%BE/%E6%A0%91%E8%8E%93%E6%B4%BE.md" class="post-edit-link" title="编辑" rel="noopener" target="_blank"><i class="fa fa-pencil"></i></a>
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2020-05-23 14:58:06" itemprop="dateCreated datePublished" datetime="2020-05-23T14:58:06+08:00">2020-05-23</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                <span class="post-meta-item-text">更新于</span>
                <time title="修改时间：2020-06-26 15:26:08" itemprop="dateModified" datetime="2020-06-26T15:26:08+08:00">2020-06-26</time>
              </span>

          
            <span class="post-meta-item" title="阅读次数" id="busuanzi_container_page_pv" style="display: none;">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span id="busuanzi_value_page_pv"></span>
            </span><br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="fa fa-file-word-o"></i>
              </span>
                <span class="post-meta-item-text">本文字数：</span>
              <span>2.7k</span>
            </span>
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="fa fa-clock-o"></i>
              </span>
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              <span>2 分钟</span>
            </span>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="第一篇、树莓派基本配置"><a href="#第一篇、树莓派基本配置" class="headerlink" title="第一篇、树莓派基本配置"></a>第一篇、树莓派基本配置</h1><p>树莓派能用来做啥？ | 树莓派实验室<br><a href="https://shumeipai.nxez.com/what-raspi-used-forra" target="_blank" rel="noopener">https://shumeipai.nxez.com/what-raspi-used-forra</a></p>
<p>(15条消息)树莓派 raspberry 4B系统 VNC View 连接 Cannot currently show the desktop 错误解决_操作系统_hu5566798的博客-CSDN博客<br><a href="https://blog.csdn.net/hu5566798/article/details/98756911" target="_blank" rel="noopener">https://blog.csdn.net/hu5566798/article/details/98756911</a></p>
<p>win10连接命令</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">ssh –p21 账号@IP地址 //路由器分配的IP</span><br><span class="line">raspberry</span><br></pre></td></tr></table></figure>

<p><a href="https://blog.csdn.net/NIeson2012/article/details/99683718" target="_blank" rel="noopener">(30条消息)树莓派4B新手篇：安装官网Raspbian Buster系统及基础配置_Nieson2012的专栏-CSDN博客_树莓派4b</a></p>
<h2 id="系统安装"><a href="#系统安装" class="headerlink" title="系统安装"></a>系统安装</h2><p><a href="https://blog.csdn.net/A_lPha/article/details/53116767?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase" target="_blank" rel="noopener">(30条消息)新手入门树莓派必做的四件事_简讯的读书笔记-CSDN博客_新手入门树莓派必做的四件事</a></p>
<p>系统安装 + 图形界面安装</p>
<p> 安装系统的方法</p>
<p>树莓派的操作系统有两种安装方式：</p>
<p>一种：先把树莓派的安装引导程序NOOBS写入SD卡，然后启动树莓派进入NOOBS来安装操作系统。</p>
<p>另一种：是使用软件``balenaEtcher`将操作系统镜像写入SD卡，树莓派启动后直接进入操作系统。</p>
<h3 id="树莓派默认账号密码"><a href="#树莓派默认账号密码" class="headerlink" title="树莓派默认账号密码"></a>树莓派默认账号密码</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">pi</span><br><span class="line">raspberry</span><br></pre></td></tr></table></figure>

<h3 id="无显示器连接树莓派"><a href="#无显示器连接树莓派" class="headerlink" title="无显示器连接树莓派"></a>无显示器连接树莓派</h3><ol>
<li><p>SSH连接</p>
<p>新建boot目录下新建一个SSH文件</p>
</li>
<li><p>设置wiff 新建文件<code>wpa_supplicant.conf</code></p>
</li>
</ol>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">ctrl_interface&#x3D;DIR&#x3D;&#x2F;var&#x2F;run&#x2F;wpa_supplicant GROUP&#x3D;netdev</span><br><span class="line">update_config&#x3D;1</span><br><span class="line">country&#x3D;CN</span><br><span class="line">network&#x3D;&#123;</span><br><span class="line">        ssid&#x3D;&quot;ChinaNet-mcEc&quot;</span><br><span class="line">        psk&#x3D;&quot;uq7nqawx&quot;</span><br><span class="line">        key_mgmt&#x3D;WPA-PSK 	</span><br><span class="line">&#125;</span><br><span class="line">network&#x3D;&#123;</span><br><span class="line">        ssid&#x3D;&quot;你的其他无线网名字&quot;</span><br><span class="line">        psk&#x3D;&quot;密码&quot;</span><br><span class="line">        key_mgmt&#x3D;WPA-PSK</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>如果你的 WiFi 没有密码</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">network&#x3D;&#123;&#96;&#96;ssid&#x3D;&quot;你的无线网络名称（ssid）&quot;&#96;&#96;key_mgmt&#x3D;NONE&#96;&#96;&#125;</span><br></pre></td></tr></table></figure>

<p>如果你的 WiFi 使用WEP加密</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">network&#x3D;&#123;&#96;&#96;ssid&#x3D;&quot;你的无线网络名称（ssid）&quot;&#96;&#96;key_mgmt&#x3D;NONE&#96;&#96;wep_key0&#x3D;&quot;你的wifi密码&quot;&#96;&#96;&#125;</span><br></pre></td></tr></table></figure>

<p>如果你的 WiFi 使用WPA/WPA2加密</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">network&#x3D;&#123;&#96;&#96;ssid&#x3D;&quot;你的无线网络名称（ssid）&quot;&#96;&#96;key_mgmt&#x3D;WPA-PSK&#96;&#96;psk&#x3D;&quot;你的wifi密码&quot;&#96;&#96;&#125;</span><br></pre></td></tr></table></figure>

<h3 id="VNC-远程连接树莓派"><a href="#VNC-远程连接树莓派" class="headerlink" title="VNC 远程连接树莓派"></a>VNC 远程连接树莓派</h3><p>开启VNC 和提高分辨率</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo raspi-config</span><br></pre></td></tr></table></figure>

<h3 id="更换源"><a href="#更换源" class="headerlink" title="更换源"></a>更换源</h3><p>nano保存退出</p>
<p>linux下在编辑状态下退出请按Ctrl+X，会有两种情形：如果文件未修改，直接退出，如果修改了文件，下面会询问是否需要保存修改。</p>
<p>输入Y确认保存，输入N不保存，按Ctrl+C取消返回。如果输入了Y，下一步会提示输入想要保存的文件名。</p>
<p><a href="https://jingyan.baidu.com/article/046a7b3e6552e3f9c27fa9d9.html" target="_blank" rel="noopener">nano怎么保存退出-百度经验</a></p>
<h3 id="树莓派固定IP"><a href="#树莓派固定IP" class="headerlink" title="树莓派固定IP"></a>树莓派固定IP</h3><p><a href="https://blog.csdn.net/zbr794866300/article/details/98983749" target="_blank" rel="noopener">(30条消息)树莓派设置固定IP地址的方法（亲测有效）_zbr794866300的博客-CSDN博客_树莓派固定ip</a></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo nano &#x2F;etc&#x2F;network&#x2F;interfaces</span><br></pre></td></tr></table></figure>

<p>安装 vim</p>
<p><a href="https://blog.csdn.net/dxm809/article/details/103799537" target="_blank" rel="noopener">(30条消息)E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarly unavailable)_dxm809的博客-CSDN博客_e: could not get lock /var/lib/dpkg/lock-frontend</a></p>
<p>为了防止树莓派的IP地址每次都变动，可以将DHCP改为静态IP。编辑/etc/dhcpcd.conf文件，加入以下配置即可。如果是有线网，就将wlan0改为eth0。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">interface wlan0</span><br><span class="line">static ip_address&#x3D;192.168.1.111&#x2F;24</span><br><span class="line">static routers&#x3D;192.168.1.1</span><br><span class="line">static domain_name_servers&#x3D;114.114.114.114</span><br></pre></td></tr></table></figure>

<p><a href="https://www.cnblogs.com/2sheep2simple/p/10611170.html" target="_blank" rel="noopener">E: 无法打开锁文件 /var/lib/dpkg/lock-frontend - open (13: 权限不够)E: 无法获取 dpkg 前端锁 (/var/lib/dpkg/lock-frontend)，请查看您是否正以 root 用户运行？ - 不肥的死肥宅 - 博客园</a></p>
<h3 id="使用功能"><a href="#使用功能" class="headerlink" title="使用功能"></a>使用功能</h3><p>使用</p>
<p>树莓派上安装Pi-hole搭建DNS服务器，过滤网页广告 | 科技爱好者博客 -专注于树莓派（Raspberry Pi）<br><a href="https://www.lxx1.com/2422" target="_blank" rel="noopener">https://www.lxx1.com/2422</a></p>
<p>使用SFTP远程传输树莓派文件 | 树莓派实验室<br><a href="https://shumeipai.nxez.com/2013/09/07/use-the-remote-sftp-file-transfer-raspberry-pi.html" target="_blank" rel="noopener">https://shumeipai.nxez.com/2013/09/07/use-the-remote-sftp-file-transfer-raspberry-pi.html</a></p>
<p>只需在“快速连接”中输入：<br>主机：s<a href="ftp://192.168.1.102">ftp://192.168.1.102</a> （换成您的树莓派的IP地址。前面的sftp://一定要加）<br>用户名和密码照实填。（Raspbian默认是pi/raspberry）</p>
<h3 id="树莓派更新源"><a href="#树莓派更新源" class="headerlink" title="树莓派更新源"></a>树莓派更新源</h3><p>树莓派安装</p>
<h1 id="第二篇、树莓派电视机盒子"><a href="#第二篇、树莓派电视机盒子" class="headerlink" title="第二篇、树莓派电视机盒子"></a>第二篇、树莓派电视机盒子</h1><p><a href="https://imsqua.re/blog/post/squarefong/%E7%94%A8%E6%A0%91%E8%8E%93%E6%B4%BE4B%E5%81%9A%E9%AB%98%E6%B8%85%E6%92%AD%E6%94%BE%E7%9A%84%E7%9B%92%E5%AD%90" target="_blank" rel="noopener">用树莓派4B做4K机顶盒</a></p>
<h1 id="第三篇、-树莓派下载机"><a href="#第三篇、-树莓派下载机" class="headerlink" title="第三篇、 树莓派下载机"></a>第三篇、 树莓派下载机</h1><h2 id="百度网盘下载"><a href="#百度网盘下载" class="headerlink" title="百度网盘下载"></a>百度网盘下载</h2><p><a href="https://www.lxx1.com/3495" target="_blank" rel="noopener">树莓派做百度云盘离线下载器 | 科技爱好者博客 -专注于树莓派（Raspberry Pi）</a></p>
<p><a href="https://zhidao.baidu.com/question/509126302.html" target="_blank" rel="noopener">LInux下卸载命令_百度知道</a></p>
<h2 id="aira2下载机"><a href="#aira2下载机" class="headerlink" title="aira2下载机"></a>aira2下载机</h2><p><a href="https://www.freesion.com/article/4555471768/" target="_blank" rel="noopener">树莓派下载机aria2+Samba搭建NAS下载机 - 灰信网（软件开发博客聚合）</a></p>
<p><a href="https://hacpai.com/article/1548140422018" target="_blank" rel="noopener">搭建 aria2 下载机一键脚本 - 黑客派</a></p>
<h1 id="第四篇、-树莓派Nas"><a href="#第四篇、-树莓派Nas" class="headerlink" title="第四篇、 树莓派Nas"></a>第四篇、 树莓派Nas</h1><h1 id="第五篇、-树莓派软路由"><a href="#第五篇、-树莓派软路由" class="headerlink" title="第五篇、 树莓派软路由"></a>第五篇、 树莓派软路由</h1><h1 id="第六篇、-树莓派多功能媒体Kodi"><a href="#第六篇、-树莓派多功能媒体Kodi" class="headerlink" title="第六篇、 树莓派多功能媒体Kodi"></a>第六篇、 树莓派多功能媒体Kodi</h1><h1 id="第七篇、-树莓派服务器"><a href="#第七篇、-树莓派服务器" class="headerlink" title="第七篇、 树莓派服务器"></a>第七篇、 树莓派服务器</h1><h2 id="Samba"><a href="#Samba" class="headerlink" title="Samba"></a>Samba</h2><h2 id="FTP"><a href="#FTP" class="headerlink" title="FTP"></a>FTP</h2><h2 id="Web服务器"><a href="#Web服务器" class="headerlink" title="Web服务器"></a>Web服务器</h2>
    </div>

    
    
    
        <div class="reward-container">
  <div></div>
  <button onclick="var qr = document.getElementById('qr'); qr.style.display = (qr.style.display === 'none') ? 'block' : 'none';">
    打赏
  </button>
  <div id="qr" style="display: none;">
      
      <div style="display: inline-block;">
        <img src="/images/wechatpay.jpg" alt="heweiliang 微信支付">
        <p>微信支付</p>
      </div>
      
      <div style="display: inline-block;">
        <img src="/images/alipay.jpg" alt="heweiliang 支付宝">
        <p>支付宝</p>
      </div>

  </div>
</div>

        

  <div class="followme">
    <p>欢迎关注我的其它发布渠道</p>

    <div class="social-list">

        <div class="social-item">
          <a target="_blank" class="social-link" href="/atom.xml">
            <span class="icon">
              <i class="fa fa-rss"></i>
            </span>

            <span class="label">RSS</span>
          </a>
        </div>
    </div>
  </div>


      <footer class="post-footer">

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2020/05/15/%E5%89%8D%E7%AB%AF/UI/iconAnfont/font/" rel="prev" title="前端/UI/iconAnfont/font">
      <i class="fa fa-chevron-left"></i> 前端/UI/iconAnfont/font
    </a></div>
      <div class="post-nav-item">
    <a href="/2020/05/26/%E5%89%8D%E7%AB%AF/JavaScript/Babel%20%E6%98%AF%E4%B8%80%E4%B8%AAJavaScript%20%E7%BC%96%E8%AF%91%E5%99%A8/" rel="next" title="前端/JavaScript/Babel 是一个JavaScript 编译器">
      前端/JavaScript/Babel 是一个JavaScript 编译器 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          
    
  <div class="comments">
    <div id="lv-container" data-id="city" data-uid="MTAyMC81MDY1MC8yNzEzMw=="></div>
  </div>
  

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#第一篇、树莓派基本配置"><span class="nav-number">1.</span> <span class="nav-text">第一篇、树莓派基本配置</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#系统安装"><span class="nav-number">1.1.</span> <span class="nav-text">系统安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#树莓派默认账号密码"><span class="nav-number">1.1.1.</span> <span class="nav-text">树莓派默认账号密码</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#无显示器连接树莓派"><span class="nav-number">1.1.2.</span> <span class="nav-text">无显示器连接树莓派</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#VNC-远程连接树莓派"><span class="nav-number">1.1.3.</span> <span class="nav-text">VNC 远程连接树莓派</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#更换源"><span class="nav-number">1.1.4.</span> <span class="nav-text">更换源</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#树莓派固定IP"><span class="nav-number">1.1.5.</span> <span class="nav-text">树莓派固定IP</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#使用功能"><span class="nav-number">1.1.6.</span> <span class="nav-text">使用功能</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#树莓派更新源"><span class="nav-number">1.1.7.</span> <span class="nav-text">树莓派更新源</span></a></li></ol></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第二篇、树莓派电视机盒子"><span class="nav-number">2.</span> <span class="nav-text">第二篇、树莓派电视机盒子</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第三篇、-树莓派下载机"><span class="nav-number">3.</span> <span class="nav-text">第三篇、 树莓派下载机</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#百度网盘下载"><span class="nav-number">3.1.</span> <span class="nav-text">百度网盘下载</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#aira2下载机"><span class="nav-number">3.2.</span> <span class="nav-text">aira2下载机</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第四篇、-树莓派Nas"><span class="nav-number">4.</span> <span class="nav-text">第四篇、 树莓派Nas</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第五篇、-树莓派软路由"><span class="nav-number">5.</span> <span class="nav-text">第五篇、 树莓派软路由</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第六篇、-树莓派多功能媒体Kodi"><span class="nav-number">6.</span> <span class="nav-text">第六篇、 树莓派多功能媒体Kodi</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#第七篇、-树莓派服务器"><span class="nav-number">7.</span> <span class="nav-text">第七篇、 树莓派服务器</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#Samba"><span class="nav-number">7.1.</span> <span class="nav-text">Samba</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#FTP"><span class="nav-number">7.2.</span> <span class="nav-text">FTP</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Web服务器"><span class="nav-number">7.3.</span> <span class="nav-text">Web服务器</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="heweiliang"
      src="/images/avatar.jpg">
  <p class="site-author-name" itemprop="name">heweiliang</p>
  <div class="site-description" itemprop="description">heweiliang blog</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">96</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">18</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">24</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/yourname" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i></a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:yourname@gmail.com" title="E-Mail → mailto:yourname@gmail.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i></a>
      </span>
      <span class="links-of-author-item">
        <a href="https://plus.google.com/yourname" title="Google → https:&#x2F;&#x2F;plus.google.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fa fa-fw fa-google"></i></a>
      </span>
      <span class="links-of-author-item">
        <a href="https://stackoverflow.com/yourname" title="StackOverflow → https:&#x2F;&#x2F;stackoverflow.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fa fa-fw fa-stack-overflow"></i></a>
      </span>
  </div>
  <div class="cc-license motion-element" itemprop="license">
    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" rel="noopener" target="_blank"><img src="/images/cc-by-nc-sa.svg" alt="Creative Commons"></a>
  </div>


  <div class="links-of-blogroll motion-element">
    <div class="links-of-blogroll-title">
      <i class="fa fa-fw fa-link"></i>
      Links
    </div>
    <ul class="links-of-blogroll-list">
        <li class="links-of-blogroll-item">
          <a href="http://yoursite.com/" title="http:&#x2F;&#x2F;yoursite.com">Title</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="http://yoursite.com/" title="http:&#x2F;&#x2F;yoursite.com">Title2</a>
        </li>
        <li class="links-of-blogroll-item">
          <a href="http://yoursite.com/" title="http:&#x2F;&#x2F;yoursite.com">Title3</a>
        </li>
    </ul>
  </div>

      </div>
        <div class="back-to-top motion-element">
          <i class="fa fa-arrow-up"></i>
          <span>0%</span>
        </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">heweiliang</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    <span title="站点总字数">376k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">5:42</span>
</div>

        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
    <span class="post-meta-item" id="busuanzi_container_site_uv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-user"></i>
      </span>
      <span class="site-uv" title="总访客量">
        <span id="busuanzi_value_site_uv"></span>
      </span>
    </span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item" id="busuanzi_container_site_pv" style="display: none;">
      <span class="post-meta-item-icon">
        <i class="fa fa-eye"></i>
      </span>
      <span class="site-pv" title="总访问量">
        <span id="busuanzi_value_site_pv"></span>
      </span>
    </span>
</div>








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>

<script src="/js/bookmark.js"></script>


  <script defer src="/lib/three/three.min.js"></script>
    <script defer src="/lib/three/three-waves.min.js"></script>
    <script defer src="/lib/three/canvas_lines.min.js"></script>


  




  
<script src="/js/local-search.js"></script>













  

  

<script>
NexT.utils.loadComments(document.querySelector('#lv-container'), () => {
  window.livereOptions = {
    refer: location.pathname.replace(CONFIG.root, '').replace('index.html', '')
  };
  (function(d, s) {
    var j, e = d.getElementsByTagName(s)[0];
    if (typeof LivereTower === 'function') { return; }
    j = d.createElement(s);
    j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
    j.async = true;
    e.parentNode.insertBefore(j, e);
  })(document, 'script');
});
</script>

<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginModelPath":"assets/","model":{"jsonPath":"/live2dw/assets/Epsilon2.1.model.json"},"display":{"position":"left","width":300,"height":600},"mobile":{"show":false},"log":false,"pluginJsPath":"lib/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
</html>
